SharedLibrary('PluglibPlugin/PluglibPlugin.cpp')
Libraries=['libboost_filesystem-mt', 'libboost_system-mt', 'dl','libboost_unit_test_framework-mt','libboost_thread-mt']

# sets the path to compiled boost libs:
Libpath=['/usr/include/boost','/usr/lib']

import os
env = Environment(ENV = os.environ)
env.Append(CXXFLAGS = '-Wall -BStatic')

env.SharedLibrary('PluglibPlugin/PluglibPlugin.cpp')
env.Program('PluglibTest/PluglibTest.cpp', LIBPATH=Libpath, LIBS=Libraries) 
